import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'lastStr'
})
export class LastStrPipe implements PipeTransform {

  transform(value: any, args?: any): any {
    return value.split('/')[value.split('/').length-1];
  }

}
